package ccmis.finance.voucher.bo;

import java.util.List;

import javax.ejb.EJB;
import javax.ejb.Local;
import javax.ejb.Stateless;

import ccmis.finance.voucher.dao.VoucherDAO;
import ccmis.finance.voucher.entity.Voucher;
import jfox.platform.infrastructure.DataAccessObject;
import jfox.platform.infrastructure.SuperBO;

@Stateless
@Local
public class VoucherBoBean extends SuperBO implements VoucherBo{
	@EJB
	VoucherDAO voucherDAO;
	public DataAccessObject getDataAccessObject() {
	        return voucherDAO;
	    }
	public List<Voucher> getVoucherByPzId(String pzId) {
        return voucherDAO.getVoucherByPzId(pzId);
    }
	public List<Voucher> getVoucherByPzIdFlh(String pzId,String flh){
		return voucherDAO.getVoucherByPzIdFlh(pzId, flh);
	}
}
